package ace.module.captcha.sms.core.impl.service.impl;

import ace.module.captcha.sms.core.impl.service.CaptchaSmsApplicationService;
import ace.module.captcha.sms.core.impl.service.CaptchaSmsInitService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * module init.
 *
 * @author Caspar
 */
@Slf4j
@AllArgsConstructor
@Component
public class CaptchaSmsInitServiceImpl implements CaptchaSmsInitService {

  private final CaptchaSmsApplicationService captchaSmsApplicationService;

  @Override
  public void init() {
    captchaSmsApplicationService.initOperatorPlatformApp();
  }
}
